export const validate = async (ref: any, ) => {
    let isPass = false
    await ref.value!.validate((valid: any) => {
      if (valid) {
        isPass = true
      } else {
        isPass = false
      }
    });
    return isPass
  };